fix parsing issue with --gtest_list_tests output on newer versions of google_test#24
fix parsing issue with --gtest_list_tests output on newer versions of google_test#24willsheffler wants to merge 1 commit intopytest-dev:masterfrom
Conversation
|
Hey @willsheffler, thanks for the PR!
Not at all, PRs are an excellent way to request changes like this!
I don't use Google Test on daily basis, so if you could could clarify some questions it would be great:
Again, thanks for taking the time to submit this! 😁 |
|
Here's some sample output from google_test 1.8.0 (https://github.com/google/googletest/releases) int main(int argc, char **argv) FROM ../../src/test/main_test.cc perhaps it would be better to check the first character in the stripped line isalpha or underscore (those are I think the allowed start to c++ identifiers) not sure how to fix the coverage without adding a test case with newer gtest. thanks! |
Thanks! I will take a look on how to make a separate build matrix for different GTest versions. |
|
Hey @willsheffler sorry for the lack of response on this; it got lost on my list of TODO items. I will get back to this this week. |
|
Hi @willsheffler, I managed to install googletest and take a look myself. I don't see the same output as you: And that works fine with pytest-cpp: I have compiled googletest with standard options (just I'm about to open a PR testing pytest-cpp with googletest-1.8.0, will post it here. |
|
Thanks for looking into it. Can't remember exactly built googletest, but On Nov 21, 2016 10:45 AM, "Bruno Oliveira" notifications@github.com wrote:
|
|
Created #28, now testing with 1.8.0 in Travis. 😁 Thanks again for the PR @willsheffler. I will close this for now, feel free to reopen if you have new information. 👍 |
First public github pull request I've done, apologies if I'm doing something dumb. (Like, if a PR isn't the right way to request this change...)